import requests

def getBaiduMessage(keyword):
    headers={"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36"}
    request=requests.get('https://www.baidu.com/s?wd={}'.format(keyword),headers=headers).text
    return request.replace('//www.baidu.com/img/baidu_jgylogo3.gif', '/static/alphago.jpg').replace('百度一下','Jack').replace('百度','Jack')